package com.yuanfengerp.retailback.servicer;

import com.yuanfengerp.publicUtil.Result;
import com.yuanfengerp.retailback.model.RetailBackBoundOrder;

import java.util.List;
import java.util.Map;

public interface IRetailBackService {
    //新增退货单
    Result<RetailBackBoundOrder> insertBackOrder(RetailBackBoundOrder retailBackBoundOrder);
    //审核通过退货单
    Result<RetailBackBoundOrder> updateBackOrderAgree(String[] retailReturnOrderNumbers);
    //审核拒绝退货单
    Result<RetailBackBoundOrder> updateBackOrderRefuse(String[] retailReturnOrderNumbers);
    //通过单据号 会员 仓库 操作人 操作日期 审核人 审核日期 状态 销售员 零售出库单号 结算状态 查询所有退货单
    Result<List<String>> selectAllOutOrder(Map<String, Object> condition);
    //通过ID查看单条退货单
    Result<RetailBackBoundOrder> selectBackOrder(String retailReturnOrderNumber);
}
